BWimage
 
 
 Bean BWimage
 
Black & White image

Typical usage of the bean in user's code.

Typical Usage:

Assume the bean name "BWim1".

This bean can be used in several cases. Following example is one of them.

 MAIN.C

PIMAGE img;	 /* PIMAGE is defined in PE_Types.h */
uint16_t size;

void main(void)
{
  /* Get pointer to a structure describing an image */
  img = BWim1_GetImage();   
  
  size = img->size;         /* Get size of an image */
  ... 
  
}

For more about typical usage of the bean code please refer to the page Bean Code Typical Usage.


Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.